package com.guigu.work.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 司机作业单
 * </p>
 *
 * @author liAo
 * @since 2021-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pd_driver_job")
@ApiModel(value="DriverJob对象", description="司机作业单")
public class DriverJob implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "起始机构id")
    private String startAgencyId;

    @ApiModelProperty(value = "目的机构id")
    private String endAgencyId;

    @ApiModelProperty(value = "作业状态，1为待执行（对应 待提货）、2为进行中（对应在途）、3为改派（对应 已交付）、4为已完成（对应 已交付）、5为已作废")
    private Integer status;

    @ApiModelProperty(value = "司机id")
    private String driverId;

    @ApiModelProperty(value = "运输任务id")
    private String taskTransportId;

    @ApiModelProperty(value = "提货对接人")
    private String startHandover;

    @ApiModelProperty(value = "交付对接人")
    private String finishHandover;

    @ApiModelProperty(value = "计划发车时间")
    private Date planDepartureTime;

    @ApiModelProperty(value = "实际发车时间")
    private Date actualDepartureTime;

    @ApiModelProperty(value = "计划到达时间")
    private Date planArrivalTime;

    @ApiModelProperty(value = "实际到达时间")
    private Date actualArrivalTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
